
class Code():
    db = None
    query = None

    def __init__(self, db, query):
        self.db = db
        self. query = query

    def execute(self):
        print "Running Code"
        exec(self.query)